package com.dlc.shop.live.common.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author TRACK
 */
@Data
public class LiveRoomVO {

    @Schema(description = "直播间id")
    private Long roomId;

    @Schema(description = "店铺id")
    private Long shopId;

    @Schema(description = "店铺名称")
    private String shopName;

    @Schema(description = "店铺logo")
    private String shopLogo;

    @Schema(description = "直播间名称")
    private String name;

    @Schema(description = "主播昵称")
    private String nickName;

    @Schema(description = "主播用户id")
    private String userId;

    @Schema(description = "直播间状态 0.未开始 1.直播中 2.已结束 3.暂停中 -1.违规下架")
    private Integer liveStatus;

    @Schema(description = "直播背景图")
    private String coverImg;

    @Schema(description = "主播分享图")
    private String shareImg;

    @Schema(description = "直播封面图")
    private String feedsImg;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "直播开始时间")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "直播结束时间")
    private Date endTime;

    @Schema(description = "商品列表")
    private List<LiveRoomProdVO> liveRoomProdList;

    @Schema(description = "频道id")
    private String channelId;

}
